package com.lhoverc.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author: LiCheng
 * @CreateTime: 2025-04-09
 * @Description:
 * @Version: 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserEntity {
    //用户id
    private Integer id;
    //用户名
    private String username;
    //密码
    private String password;
    //手机号
    private String phone;
    //邮箱
    private String email;
    //头像图片
    private String image;
    //地址
    private String address;
    //产权所有者姓名
    private String ownerName;
    //产权证号
    private String propertyNumber;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    //修改时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    //身份
    private Integer status;
    //是否被删除
    private Integer isDelete;
}
